serial: sh: Change definition of clock of SCIF
authorNobuhiro Iwamatsu <[email protected]>
Tue, 20 Aug 2013 01:31:53 +0000 (10:31 +0900)
committerNobuhiro Iwamatsu <[email protected]>
Thu, 17 Oct 2013 00:43:31 +0000 (09:43 +0900)
commitf8b7d9eaef1250d7d4c543fcc6f8e2334665f97d
tree45271007a905a90a8314f339d131715927c5e91a
parent857febf38cd33b49e29f2d17e885f2cb17a0aec0
serial: sh: Change definition of clock of SCIF

The former SH/SCIF driver had calculated baudrate based on CONFIG_SYS_CLK_FREQ.
The newest SH/SCIF needs calculation of the clock for SCIF.
This patch defines clock CONFIG_SH_SCIF_CLK_FREQ for SCIF and changes it to
CONFIG_SH_SCIF_CLK_FREQ from CONFIG_SYS_CLK_FREQ.

Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
CC: Albert Aribaud <[email protected]>
drivers/serial/serial_sh.c